package kordegi.forumsystem.service;

import kordegi.forumsystem.entity.Comment;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface CommentService {
    public List<Comment> getAllCommentList(@Param("ArticleId") Long articleId);

    boolean deleteCommentById(Comment comment);

    boolean addComment(Comment current, Comment parent, Long currentId);

    public boolean updateLikeCount(Comment comment);
}
